package com.example.sharding.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.sharding.enerty.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;

/**
 * <p>
 * 订单表 
 * </p>
 *
 * @author 杨二狗
 * @since 2022-03-06 15:10:34
 */
//@FeignClient(contextId = "remoteLogService", value = "seata-order-service")
public interface TOrderService extends IService<TOrder> {


    /**
     * 单增
     */
    int insertTOrder(TOrder tOrder);
    /**
     * 批量删除
     */
    int deleteTOrderBatchIds(List<String> tOrderIds);
    /**
     * 修改
     */
    int updateTOrder(TOrder tOrder);
    /**
     * 查询
     */
    List<TOrder> selectTOrderList(TOrder tOrder);
    /**
     * 分页查询
     */
    IPage<TOrder> selectTOrderPage(TOrder tOrder);
}

    
    